package com.itheima.commons.constants;

import com.aliyun.oss.model.LiveChannelListing;

//常量定义
public class Constants {

    /**
     * 手机APP短信验证码CHECK_CODE_
     */
    public static final String SMS_CODE = "CHECK_CODE_";
    /**
     * 登录短信模板编码
     */
    public static final String SMS_CODE_TEMPLATE = "SMS_184110818";
    /**
     * JWT加密盐
     */
    public static final String JWT_SECRET = "itcast";

    /**
     * JWT超时时间(默认七天)
     */
    public static final int JWT_TIME_OUT = 7 * 24 * 3600 * 1000;

    //redis的key前缀
    public static final String TANHUA_UNIT_ID_="TANHUA_UNIT_ID_";

    //时间线表名前缀
    public static final String TIME_LINE_PRE_="quanzi_time_line_";

    //redis表名，pid数据
    public static final String REDIS_PIDS="QUANZI_PUBLISH_RECOMMEND_";

    //圈子互动KEY
    public static final String MOVEMENTS_INTERACT_KEY = "MOVEMENTS_INTERACT_";

    //动态评论数 HashKey
    public static final String MOVEMENT_COMMENT_HASHKEY = "MOVEMENT_COMMENT_HASHKEY";

    //动态点赞用户HashKey
    public static final String MOVEMENT_LIKE_HASHKEY = "MOVEMENT_LIKE";

    //用户是否点赞 HashKey
    public static final String MOVEMENT_ISLIKE_HASHKEY = "MOVEMENT_ISLIKE_HASHKEY_";

    //动态喜欢用户HashKey
    public static final String MOVEMENT_LOVE_HASHKEY = "MOVEMENT_LOVE";

    //用户是否喜爱 HashKey
    public static final String MOVEMENT_ISLOVE_HASHKEY = "MOVEMENT_ISLOVE_HASHKEY_";

    //视频点赞用户HashKey
    public static final String VIDEO_LIKE_HASHKEY = "VIDEO_LIKE_HASHKEY";

    //视频点赞用户是否喜欢HashKey
    public static final String VIDEO_ISLIKE_HASHKEY = "VIDEO_ISLIKE_HASHKEY_";

    //动态关注用户
    public static final String FOLLOW_USER = "FOLLOW_USER_";

    //访问用户
    public static final String VISITORS_USER = "VISITOR_USER";

    //初始化密码
    public static final String INIT_PASSWORD = "123456";

    //环信用户前缀
    public static final String HX_USER_PREFIX = "hx";

    //用户喜欢Redis的key
    public static final String USER_LIKE_KEY = "USER_LIKE_SET_";

    //用户不喜欢Redis的key
    public static final String USER_NOT_LIKE_KEY = "USER_NOT_LIKE_SET_";

    //关注用户的key
    public static final String FOCUS_USER_KEY = "FOCUS_USER_KEY_";

    // 视频关注主播HashKey
    public static final String VIDEO_FOLLOW_HASHKEY = "VIDEO_FOLLOW_";
}
